package com.swp.oa.sys.dto.domian;

import java.util.ArrayList;
import java.util.List;
 
public class PermissionTreeViewNode {

    private String id ;

    private boolean isParent;

    private String name ;

    private boolean checked ;

    private String icon ;

    private String iconOpen;

    private String iconClose ;

    private List<PermissionTreeViewNode> childs= new ArrayList<PermissionTreeViewNode>();

    public PermissionTreeViewNode()
    {
    	
    }
    
    public PermissionTreeViewNode(String id, boolean isParent, String name)
    {
        this.id = id;
        this.isParent = isParent;
        this.name = name;
        this.checked = false;
        this.icon = "";
        this.iconOpen = "";
        this.iconClose = "";
    }
    
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public boolean isParent() {
		return isParent;
	}

	public void setParent(boolean isParent) {
		this.isParent = isParent;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getIconOpen() {
		return iconOpen;
	}

	public void setIconOpen(String iconOpen) {
		this.iconOpen = iconOpen;
	}

	public String getIconClose() {
		return iconClose;
	}

	public void setIconClose(String iconClose) {
		this.iconClose = iconClose;
	}

	public List<PermissionTreeViewNode> getChilds() {
		return childs;
	}

	public void setChilds(List<PermissionTreeViewNode> childs) {
		this.childs = childs;
	}
	
}
